/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.tawriq.assignment2.question1.Encapsulation.Config;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.tawriq.assignment2.question1.Encapsulation.Account;
import za.ac.cput.tawriq.assignment2.question1.Encapsulation.AccountDriver;

/**
 *
 * @author Tawriq
 */
@Configurable
public class Config {
    @Bean 
    public Account account()
    {
        return new Account();
    }
    @Bean 
    public AccountDriver accountDriver(){
        return new AccountDriver();
    }
}
